tools/xenmon: Fix xenmon.py for with python3.x
authorBernhard Kaindl <bernhard.kaindl@citrix.com>
Tue, 21 Mar 2023 12:44:04 +0000 (13:44 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 Mar 2023 12:44:04 +0000 (13:44 +0100)
commit244d39fb13abae6c2da341b76363f169d8bbc93b
tree812379120a38a688085d86fbc14dd6c8664554c1
parent651ffe2c7847cb9922d22980984a3bea6f47bea7
tools/xenmon: Fix xenmon.py for with python3.x

Fixes for Py3:
* class Delayed(): file not defined; also an error for pylint -E.  Inherit
  object instead for Py2 compatibility.  Fix DomainInfo() too.
* Inconsistent use of tabs and spaces for indentation (in one block)

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 3a59443c1d5ae0677a792c660ccd3796ce036732
master date: 2023-02-06 10:22:12 +0000
tools/xenmon/xenmon.py